<div class="panel-body">
    <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="tab-pane" id="min">
            <div class="row">
                <div class="form-group">
                    <div class="col-xs-5">
                        <label>{:__('Type_money')}:</label>
                        <input id="c-type_money" disabled data-rule="required" class="form-control" step="0.01" name="row[type_money]" type="number" value="{$row.type_money}">
                    </div>
                    <div class="col-xs-5">
                        <label>红包数量</label>
                        <input type="number" class="form-control" name="row[num]" placeholder="数量">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-5">
                        <label>下载方式</label>
                        <select name="row[action]"  class="form-control"  id="action">
                            <option value="1">下载到本地</option>
                            <option value="2">下载到企业微信</option>
                        </select>
                    </div>
                    <div class="col-xs-5" id="userid" style="display: none;">
                        <label>企业微信收取人</label>
                        <div>
                            <input class="form-control selectpage" name="row[userid]"   data-source="/api/base/user" data-primary-key="userid" data-field="username"  data-params='{"custom[id]":"1"}'   type="text" value="">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-5">
                        <label>文件类型</label>
                        <select name="row[file]"  class="form-control">
                            <option value="1">Excel表格（内容是链接）</option>
                            <option value="2">二维码（图片）</option>
                        </select>
                    </div>
                    <div class="col-xs-5">
                        <label>是否关闭弹窗</label>
                        <select name="row[res]"  class="form-control">
                            <option value="1">是</option>
                            <option value="2">否</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-5">
                        <label>优惠券来源</label>
                        <select name="row[source]"  class="form-control">
                            <option value="shichang">销售市场</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div>
    </form>
</div>





